package com.pmj.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pmj.hospital.vo.req.PageReqVO;
import lombok.Data;

import java.io.Serializable;

/**
 * 公告表
 *
 * @author 庞明杰
 * @date 2020-06-01
 */
@Data
@TableName("his_announcement")
public class HisAnnouncementEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 公告编号
	 */
	@TableId("id")
	private String id;
	/**
	 * 标题
	 */
	@TableField("title")
	private String title;
	/**
	 * 内容
	 */
	@TableField("contents")
	private String contents;
	/**
	 * 创建时间
	 */
	@TableField("create_datetime")
	private String createDatetime;
	/**
	 * 状态
	 */
	@TableField("ann_status")
	private Integer annStatus;
	/**
	 * 日期
	 */
	@TableField("ann_date")
	private String annDate;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(String createDatetime) {
		this.createDatetime = createDatetime;
	}

	public Integer getAnnStatus() {
		return annStatus;
	}

	public void setAnnStatus(Integer annStatus) {
		this.annStatus = annStatus;
	}

	public String getAnnDate() {
		return annDate;
	}

	public void setAnnDate(String annDate) {
		this.annDate = annDate;
	}
}
